package com.tjsinfo.tjsoa.common.page;
import java.util.ArrayList;
import java.util.List;

/**
 * 用户信息分页内部类
 * 
 * @author dl
 */
public class UserInfoPage extends AbstractViewPage {
	
	// ------------------------------------------------
	// 实现AbstractViewPage抽象类的抽象方法
	// ------------------------------------------------
	private PageBean pageBean ;
	/**
	 * @see com.prs.application.ehld.web.mvc.AbstractViewPage#getPageDate(int,
	 *      int)
	 */
	public UserInfoPage(ArrayList list) {
		pageBean = new PageBean(list);
	}
	protected List queryPageList(int startRow, int endRow) {
		PageBean pageBean = this.pageBean;
		return pageBean.getUserInfoList(startRow, endRow);
	}

	/**
	 * @see com.prs.application.ehld.web.mvc.AbstractViewPage#getRows()
	 */
	protected int queryTotalRows()  {
		PageBean pageBean = this.pageBean;
		return pageBean.getUserCount();
	}



}
